package com.seckill.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("userinfo")
public class userInfo {

    @TableId(value = "userid",type = IdType.AUTO)
    private int userId;
    private String  username;
    private String password;
    private String realname;

}
